/*
 * Application\Inc\Library\LSM303DLH.h
 *
 * LSM303DLH function
 *
 * Author: Fenris Liang
 * Copyright (c) 2010
 * All rights reserved.
 *
 * Modifications:
 * 2010/12/08 Fenris Liang first implemetation
 *
 * $Id: LSM303DLH.h 2010-12-08 15:31:53 Fenris Liang $
 */
#ifndef __ADXL345_H_
#define __ADXL345_H_

#ifdef  __cplusplus
extern "C" {
#endif		/* __cplusplus */

extern int ADXL345_Init(void);
int ADXL345_45_Init(void);

void ADXL345_GET_XYZ(short *arg);
void Get_ADXL345_Data(void);
unsigned char ADXL345_GET_ID(void);
void ADXL345_DEBUG(void);
//extern double gADXL345_mg[3];

void ADXL345_45_GET_XYZ(short *arg);


#ifdef __cplusplus
}
#endif	/* __cplusplus */
#endif	/* __ADXL345_H_ */